home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 11_Cabinet / NOTIFWDW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.5 KB  |  68 lines

  1. // NotifyShowCase.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CNotifySowCase window
  16.  
  17. #ifndef INC_NOTIFYSHOWCASE_H
  18. #define INC_NOTIFYSHOWCASE_H
  19.  
  20. typedef struct notif_tag
  21. {
  22.     UINT    nCode;
  23.     TCHAR   sztCodeName[30];
  24. } notifDescrip;
  25.  
  26.  
  27. #define NOTIFCOUNT  23
  28.  
  29. class CNotifyShowCase : public CEdit
  30. {
  31. // Construction
  32. public:
  33.     CNotifyShowCase();
  34.     static notifDescrip m_rgNotifDescrip[NOTIFCOUNT];
  35.  
  36. // Attributes
  37. public:
  38.     int     m_totalLines;
  39.  
  40. // Operations
  41. public:
  42.  
  43. // Overrides
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CNotifySowCase)
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. public:
  50.     virtual ~CNotifyShowCase();
  51.     void    SetBufferSize(int nLines) { m_totalLines = nLines;};
  52.     void    AddLine(LPCTSTR lpsz);
  53.     void    ShowNotification(UINT nCode);
  54.  
  55.     // Generated message map functions
  56. protected:
  57.     //{{AFX_MSG(CNotifySowCase)
  58.         // NOTE - the ClassWizard will add and remove member functions here.
  59.     //}}AFX_MSG
  60.  
  61.     DECLARE_MESSAGE_MAP()
  62. };
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65.  
  66.  
  67. #endif
  68.